// 引用模板
import index from '../views/index/Index.vue'
import layout from '../views/index/layout.vue'
import nopage from '../views/Nopage.vue'
// 配置路由
export default [
	{
		 path: '/',redirect: '/index'
		    
	},
  {
    path: '/index',
    component: index,
    children: [
  	  	{path: 'layout/:lid',component: layout},
  	  	{path:'layout',redirect: '/index/layout/a'}
    	]
  },
  {
	path:'*',
	component:nopage
  },
  
]